package com.yunfangdata.mapper;

import com.yunfangdata.domain.Officialstu;
import com.yunfangdata.query.OfficialstuQueryObject;
import com.yunfangdata.query.QueryObject;

import java.util.List;

public interface OfficialstuMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Officialstu record);

    Officialstu selectByPrimaryKey(Long id);

    List<Officialstu> selectAll();

    int updateByPrimaryKey(Officialstu record);


    int queryForCount(OfficialstuQueryObject qo);

    List<Officialstu> queryForList(OfficialstuQueryObject qo);

    void leave(Long id);
}